FROM ccr.ccs.tencentyun.com/xhr-base/nginx:latest
RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone
EXPOSE 8080

# copy pom.xml and wildcards to avoid this command failing if there's no target/lib directory
COPY nginx.conf /etc/nginx/nginx.conf
COPY dist /usr/share/nginx/html
